#include <sfv/csr_matrix.h>
#include <sfv/centrality.h>
#include <sfv/print.h>


#include <sfv/array2d.h>

#include <sfv/gallery/forestfire.h>
#include <sfv/io/snap_matrix.h>


int main(void)
{
	sfv::csr_matrix<int,float> A;
	//sfv::gallery::forest_fire_game(A,10,0.5,0.3,3);
	sfv::io::read_matrix_market_file(A, "ca-GrQc.txt");

	sfv::array1d<double> result1;
	sfv::edge_betweenness( A, result1 );
	sfv::print(result1);

	sfv::array1d<double> result2(2);
	sfv::array1d<int> vids(2);
	vids[0] = 0;
	vids[1] = 3;
	sfv::node_betweenness( A, result2, vids );
	sfv::print(result2);

	getchar();

    return 0;
}
